﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserEdit.aspx.cs" Inherits="Page_UserEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>用户编辑</title>
    <script type="text/javascript">
        function closewindow() {
            window.close();
        }
        function GetDataAndClose() {
            var array = new Array(1);
            window.returnValue = array;
            closewindow();
        }
    </script>
    <base target="_self"/>
    <style type="text/css">
        .style1
        {
            height: 27px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <br />
        <table width="100%">
            <tr>
                <td align="right" width="40%">
                    所属层级
                </td>
                <td>
                    <asp:TextBox ID="TextBox1" runat="server" Enabled="False" ReadOnly="True"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" width="40%">
                    用户名</td>
                <td>
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                    &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="TextBox2" ErrorMessage="用户名不能为空" ForeColor="#CC3300"> * 名称不能为空</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right" width="40%" class="style1">
                    密码(长度至少6个字符)</td>
                <td class="style1">
                    <asp:TextBox ID="TextBox9" runat="server" TextMode="Password"></asp:TextBox>
                &nbsp;<asp:Button ID="Button4" runat="server" Text="密码重置为888888" 
                        onclick="Button4_Click" />
                </td>
            </tr>
            <tr>
                <td align="right" width="40%">
                    联系人</td>
                <td>
                    <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
                </td>
            </tr>            
            <tr>
                <td align="right" width="40%">
                    联系电话</td>
                <td>
                    <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
                </td>
            </tr>   
            <tr>
                <td align="right" width="40%">
                    权限</td>
                <td>
                    <asp:CheckBox ID="CheckBox1" runat="server" Checked="True" Text="修改" />
                </td>
            </tr>
            <tr>
                <td align="right" width="40%">
                    是否有效</td>
                <td>
                    <asp:CheckBox ID="CheckBox2" runat="server" Checked="True" />
                </td>
            </tr>         
            <tr>
                <td align="right" width="40%">
                    备注</td>
                <td>
                    <asp:TextBox ID="TextBox8" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Button ID="Button1" runat="server" Text="确定" onclick="Button1_Click" />
                </td>
                <td>
                    <asp:Button ID="Button2" runat="server" Text="取消" CausesValidation="False" 
                        onclientclick="closewindow();" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
